@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="isDealInfoForm">
            <div style="display: none">
                <input type="hidden" id="customerId" value="${customerId}">
                <input type="hidden" id="reservationsId" value="${reservationsId}">
                <input type="hidden" id="operationTime" value="${operationTime}">
                <input type="hidden" id="medicalRecordNumber" value="${customerInfo.medicalRecordNumber}">
                <input type="hidden" id="customerName" value="${customerInfo.customerName}">
            </div>
            <div class="row">
                <div class="panel-body">
                    搜索项目：
                </div>
                <div style="width:1200px;height:380px;overflow:auto;" class="panel panel-success sortRight">
                    <#sortSearchPayServiced  id="sortSearchPayService" list="${payServiceInfoList}"/>
                </div>

                <div class="row">
                    <div class="row btn-group-m-t">
                        <div class="col-sm-10">
                             <#button btnCss="info" name="取消" id="cancel" icon="fa-check" clickFun="IsDealInfoDlg.close()"/>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
<link rel="stylesheet" href="${ctxPath}/static/css/jqui/jquery-ui.min.css">
<script src="${ctxPath}/static/js/jquery-ui.min.js"></script>
<script src="${ctxPath}/static/modular/tcCenter/consultant/is_deal_info.js"></script>
<script>
    var customerId = document.getElementById("customerId").value;
    //点击时间框样式变化
    var dom = document.getElementById("sortSearchPayService");
    var domchilds = document.getElementsByClassName("ui-state-default");
    dom.onclick = function (e) {
        var ev = e.event || window.event;
        console.log(domchilds);
        for (var i = 0; i < domchilds.length; i++) {
            domchilds[i].style.borderColor = '#d3d3d3';
        }
        ev.target.style.borderColor = 'red';
    }
</script>
<style>
    .search_bt, .other_bt {
        cursor: pointer;
        display: inline-block;
        width: 105px;
        height: 27px;
        line-height: 27px;
        color: white;
        text-align: center;
        font-size: 14px;
        border-radius: 20px;
        margin-bottom: 5px;
    }

    .search_bt {
        background: url("${ctxPath}/static/img/x18.png") no-repeat;
        background-size: cover;
    }

    .other_bt {
        background: url("${ctxPath}/static/img/x19.png") no-repeat;
        background-size: cover;
    }

    td a {
        display: block;
        width: 150%;
        position: relative;
        left: -25%;
    }
</style>
@}
